<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>智能组卷</title>
    <link rel="stylesheet" href="../static/layui-v2.5.6/layui/css/layui.css">
    <script src="../static/layui-v2.5.6/layui/layui.js"></script>
    <script src="../static/js/jquery.min.js"></script>
</head>
<body>
<div>
    <form method="GET" class="layui-form layui-form-pane" action="/paper/VolumeChange">
        <b>选择题</b><br>
        <table class="layui-table" lay-skin="row" th:each="choiceQst:${choiceQsts}">
            <thead>
            <tr>
                <td colspan="4" th:text="${choiceQst.getChoiceQstInfo()}">问题</td>
            </tr>
            </thead>
            <tbody>
            <title>选择题</title>
            <tr >
                <td ><input type="radio" th:name="${choiceQst.getChoiceQstId()}" th:value="${choiceQst.getChoiceQstOp1()}" th:title="A、+ ${choiceQst.getChoiceQstOp1()}" ></td>
                <td ><input type="radio" th:name="${choiceQst.getChoiceQstId()}" th:value="${choiceQst.getChoiceQstOp2()}" th:title="B、+ ${choiceQst.getChoiceQstOp2()}" ></td>
                <td ><input type="radio" th:name="${choiceQst.getChoiceQstId()}" th:value="${choiceQst.getChoiceQstOp3()}" th:title="C、+ ${choiceQst.getChoiceQstOp3()}" ></td>
                <td ><input type="radio" th:name="${choiceQst.getChoiceQstId()}" th:value="${choiceQst.getChoiceQstOp4()}" th:title="D、+ ${choiceQst.getChoiceQstOp4()}" ></td>
            </tr>
            </tbody>
        </table>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">交卷</button>
            </div>
        </div>
    </form>

</div>

<script>
    layui.use('form', function(){
        var form = layui.form;

        //提交
        // form.on('submit(formDemo)', function(data){
        //     layer.msg(JSON.stringify(data.field));
        //     return false;
        // });
    });
</script>
</body>
</html>